package priv.conceit.sc.hoxton.file.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * sc-hoxton
 *
 * @author Conceit
 * @since 1.0.0, 2020/9/28
 */
@RefreshScope
@ConfigurationProperties(LocalProperties.FULL_PREFIX)
@Data
public class LocalProperties {

	public static final String PREFIX = "local";
	public static final String FULL_PREFIX = FileProperties.PREFIX+".source."+PREFIX;
	/**
	 * 上传路径
	 */
	private String uploadDir;

}
